getting rid of unneccessary button