fixed norm division by zero