bugfix of prototype setting in container.