fixed test problem with bada browser