Fixing an issue where objects were stored as the binding argument