debugging, sql should be fine