fix settings for local and remote(trevis-ci) build