make pk as integer