fix broken file array