refactor extract parameter
use factor type instead of factor name for compound factors as well