remove ref to controller