fix linux warning.