horizontal mode compatible
remove path