fixes null model (should be matrix)