ULAPPS: fix bugs