fixed sme bugs in easytimer.c