Fixed wrong count on timer