Fixed small stupid bug with variables not existing