resolved more errors in insert statements