fixes controller bug in lead edit