fix issue: use reference