bind fix for unit test