merge config and options in base extension