close box fix