fix abstract factory configuration