Fixed bugs in revisions due pluin