fixed bug #18
remove dependence of data