put deposit type error in legend instead of checkbox label