deal with missing files