fixed bug from photo