fix for multiple files