fixed challenge insert query