fixed return of box.cpp