fixed a bug where I mislabeling default parameters used in core.py