fixed a bug preventing the creation of roles because the pk is specified as a blank string instead of NULL