changed to improve the keyboad detection issue on BEP3- oct 05 2004