Fix coding style in analytics