freeze on close fixed