Update ida.cpp

corrected problem init