Fixing retrieve default service lifecycle code