pk instead of id with dashboard module, fixed #517