change configurations from array_merge_recursive to array_replace_recursive