removes unused argument from createDataStr