bugfix, matrix definitely working