compatible with api version 20 (simply a number change), more secure string processing (add a null char after modifying the string.)