fix all remaining compiler warnings