fix main enter