fixed most difficult SCI bug ever