fix minors bug et fix timer pause