Fixed a bug where it would crash because the 'lang' was nil