fixed a bug causing photo channels to crash