bugfix: return no content when there is no any upstream