fix a issue raised in #105