fix code style warnings