strip empties from post