fix mapmatrix for non-vectors