fix path issue with fork