bugfix: resource container class was not defined correctly