debug
grad weight offset_in fix