fixed CreateMissingFunction issues (inserting into wrong view)