Fixed transposing bug