fix for resources derep