fix require after refactor
add logger