Revert "Update fd_generator.c"

This reverts commit c90235e874a4c4f5dea837298c4d0323083787b6.