Fix a bug that option is ignored