modify setting
commit photomag example
support passport