Fix line issue with reference