fix to call AccountManager and RecordManager as service