bugfix, some works were being passed over with files.pop