fix code formatting