fix bug in normalizations