fixes to PittPatt5 wrapper