fix exception catching logic of moving segments