fix error when I removed @Profile in test