Fixed error in main page