fix bug where top features are not printed