limit the number of char on the MCP filed and pin field