fixing intel compiler error