fix feature matrix