removed duplicate line from sub dets controller