removed root config
updated code