check POST index exists