changed to WebMvcConfigurationAdapter