[timer] Fixed a parsing bug in timer