delete head and data with flowno ,and finish the model