version 1.0.1 fix max dimension bug