fixing timestamp bug in firefox