fixed transferring degenerate cases