correct a few more warnings for gcc