Fix too long lines and fix the bug where undefined variable was used in _editPost...