add failsafe for getter methods in case they are invoked before resource object is loaded