Fixing ordering in main page