fixing pages#show error