close withe space mode