various updates, fix coordinate issue when using whole sequence target