fix install dimension bugs