fixing bug in firefox not setting select box value