fix check if doorbell has photos property