fixed bug with reset all button