properly end input data list