removed nil credential attributes