Fixed two warning messages.