fixed up small errors with tags etc.