fixed button resizing bug. rediscovered duplication bug