Fixed undefined things.