added comment existence check for sub_callback