test and fix data extend