Fix insert_enter problem