fix bug--able to parse revision