fix credit viewer bugs