change selectDimension prototype