fixed bug in ios runner