remove dimensions but keep everything else the same