fixed resource getter