Fix crash on tmp reference line at 0w