opening filter moved to function from launch