inserts fixed, no errors when run in sqldeveloper