remove unneeded open