minor fixes to sample xpage app