fixing agent details variable selectors issues