fixes reset button
fixes button loading