removed redundent resetTimiout