fix: normalization and padding