select always returns 0, fuck