#42 clean up resource scanning
#42 clean up resource scanning