fixed warning messages