fixed fish_cd function