fixed date problem in firefox