Fix error case in timer