correct the errors in listings page