fix padding in feature