correct switchFeatures padding
fix wrong bit flag