Fix error with cfg extension