fixed a bug in recursive list-options