fix error when sdk is added and selected in module extension