Fixed bug in configureExtension service method