Fix #163

I created the bug #163, so here is the fix.