Some fix and make mini dynamic config working