Fixed some wornings