fix photo and reg
Merge branch 'lex'