fixed writing the correct time