add velocity and veloctiy-tool configure and fix bug