fix loading check for buttons