cheating a fix for now, not using raw sql