fix button status