fixes to medium OTF