pring cleanup in resources