fixed #7 revert don't work correct (e.g. svn1.4.6)