removed config check