fixes unknown files being ignored when -r is used