commented sql bug