remove unused unportable reference to _expand function