Fixed small mistake in the applications controller