fixing some code formating issues