filters on currenttop and records
remove accidental var_dump
cleaner code for filters