fix negative time; tweak style