fixes button loading