fix main for my current environment