file storage location bug fix