fix weights not contains problem in NoTipping.java