refactor some code of load card by name