Fix minor warning messages