fix isopen