modify fd