fixing style warnings