removes tags but buggy