fix horrible region move bug