fix features bug