weight changes and debug mode