button error fixed