fix resources