changed a misspelling in sql statement