FIX: clear data arrays when load new