few fixes to compile (removed class box)