fixed broen insert statements from older builds