removed bug in close request