fix nil when user has no files