finallu fixed the default controller bug