updates to handle sanitizations better
  corrects internal attribute style