protect against f_files == 0