Fixed text and argv issue in main