remove old splat
fix the drawboxes function