Fixes the path for the controller