fix 2 compiler warnings.