fix main task