fix loading of remote resources mentioned >once