removed invocations of open