clean up credits and remove transaction types