r713: a bug in retrieving ref seq on rev