minor fixes in the aapp