fix ios simulator path in the seconde time
add more global variables