fix a lots of dimensions error