change type id form String to int