fix resourcefile

fix resourcefile