adjust error in button