cleared up bugs stopping buttons from being clicked, may not be the clean way