make header safe