Fix a minor bug with createDF module.