Diff for PGELAT and multiple fixes