minor refactor: fix style warnings