Bug/130 fix photo auth crash

thanks, will do