fixes for weight learning