fix u-j condition