fix code styling problems