refactoring: remove unused or useless parameters