make sur Box.bar is always defined before leaving the constructor