application controller trim