fixed loaddata issue