more looking into SQL error