fix call correctly main