warn when no main found