fix wrong dimension