fix random choice bug (maybe?)