fix for optional OTF generation