fixed bug in regression feature