Fix fork method call and close #106