fixed bug in photodetailvc