fixed some more warnings