improve drawing line.
set define release mode.