fixed some codingstyle issues