fixing insert statement