Fix bind forward file bugs.