fixed remaining time and time entry bugs