resolving issues with reloading a controller