bugfix for uninit variables
bugfix for two uninit variables