fixing fork errors