fix resources dir