weight validation added
Merge branch 'master' into develop