Fix wrong usage of "main"