ensuring resources on client