fixed bug where Y_y == Y_m when it shouldn't have.