fd bug fix