fixed bug in details page