Trying to fix an asynchronous problem between two controllers.