Corrected warnings at build