small update to applyContainer