data delegate bugfix.