simplify appspec