refactor services config
add param dev
fix in config service