Change model id type to int