fixed bind to properly handle empty source arrays