fix bug: input map/list