change id to integer