better input processing, filter out replies