bug fixed to calc velocity.
update default param.