fixed bug ontake photo