Fixed compilation error with main signiture incorrect