eliminated syntax error but not inserting