Resolve 7 warnings while compilation