fix the assigned variable conflict

fix; the assigned variable maybe conflict with the local variable in
display function;