Get rid of strange markup