Remove fds in all branches