fixed intel compiler bugs