fixes for Initialization based on @Configuration @Profile