Fixed warning messages at compilation