make bind optional in some contexts