swap cases for odir bug workaround