Unable to use the same variable twice

@brixt.macharia,

Would you be able to share the code here to check?