Fixed generate file.