Fixed the main function call error.