fix pk charfield lookup