fixed incorrect pause time handling