removing invalid header message