fix typo only working with scriptapi split patches