Fixing weird issue where the program wouldn't work for no apparent reason...