first fix for changing styling of tags -needs testing -