trying to fix an error where if there was no account the plugin would fail