Fixed intialization upon startup bug2