moved get_comments to be before have_comments() so have_comments() function will work since it uses a global -query