added limit to listtypes