setting controller to zero in init