SQL error is fixed