refactored and try to fix random output_setting missing bug
Merge branch 'develop' of https://github.com/mindpin/image-service into develop