updated list feature for latest version of haxe