Fixing chain enumerator
Refactoring permission check
Optimize HTML tag