Fixed some compatibility issues,and added function 'getListName'