fix data interface