fix error in resource inclusion