autowire settings. fix some issues displaying format