correct coding style a little bit