fix(servicetemplate) readd single return statement