fix the smellie documents to be compatible with RAT