mapper now can filter rubbish when reading lines