fix calculate feature error