Minor fixes regarding box adding