fix 'main' entry