fix button close