dimension type fix in master branch