Added exception when you haven't set controller