fix main file entry