Bug related to boxes fixed