fixed data loading
fixed a compile error