updated crashed in select photo view