Fixed transposition bug