emit_create_path bug;more fix tests