fixed missing things in resource module