LeadsController Refactor format errors