fixed a couple compiler warnings.