fix bug for repeat marker