fixed issue where values would not be properly transposed