Fixed error due to update in timer library