replace to or up with down
fix merge with down