1. add card module; 2. replace 'id' to 'pid'