Fixed bug when in secound file there are more elements than first file