fix main dashboard filtering