fixed some bugs in FillPlaceholders, HA, SA and ServiceStep.