fix warning masks char