add option to combine arrays for mapCombine function; fix override bug of decorations in settings