fix bug popup photo, render views