lb plugin - fix format() type mismatches