set controller to nil after release