pkstring typemap works in database, but not main one...