rm empty fields from input