replaced identity mapper with filter to catch bad input