pek1d - bug fixes