fix issue caused by retab