fixed wrong main