Fixes 'maplist' command