bugfix for editing comp matrices