fixed bug with credential group display in api