fixed clear button with badish code