Fix minor bug in extended resource framework