correct indentation in activity observer