improves rewriting of code literals