fixed auto complete for insertion in the middle, 6am commits FTW