changed viewDim to 6
add viewDim to setAllProperties/1