fixed dpa.c timing