fix dim test