small fixes about dimensions