Fix trailing header characters. Thanks @mojavelinux