fixed timeout clearing issue