separated directives. fixed index.html