undo some modification about (unsigned int) and (int)