Fix type on factory configuration