button error resolved