fixed the get controller