try to support the new .sml format