fix gen fill issue