fix dynamic photos