fix some bugs of mem event or records.
fix gprs bugs