add checkout location
fix clear bug