remove head and fix strings