Fixed a bug where after D3JS matrix, wrong file would be open