bug fix on reset,
timer are finished
fix bugs and solve all warnings