auto-opping fix