changed dimension handling