Bug squashing

Fixed the 81 photo fail. added some debugging logs.