Fixed issue when registered controller loaded 2x.