fix some HTML
Delete unused patterns