use pointer.

looks more elegant.
fix debug option.