fixed issue #57, 特殊处理下rename