trying to fix resources