fixing insert query bug