changed all json and fixed details page bug