fixed misterious problem