fixed insert query result