Fixed wrong time limit measurement