Fixed problem where I forgot to initialize one value