bug fix for TWAD normalization