modify error word
add weight validation