removing the autogenerated HTML