fix corner offline problem