set container correctly