Fixing impossible cases.