fixed a few more warnings.