fix comment and unnecessary config