fixes controller