bugfix: can not filter wrong input