fixing time appearance such that seconds are correctly displayed