fix markup for traits