sorted out html paths
bt of refactoring