Removing all warnings
fixing warning about unsigned int