finally fixed the box models