fix slow O inserts