more fixes for gPTP.com.c.18