Fixed #47: pid error