fix logger variable name
remove duplicate require