fixed a couple lint warnings