precheck if resources exists