make complex a bit more tolerant