minor fix: handle photo show when there is no photos