Fix undefined variable in AliceFactory

You also benefit when I look at your code for examples ;)