finished the issue 53
handle the config