Fixed minor warning messages