change pk from string to long