typo in comments
refactor log controller