Fixed 'clear' button work