some bugs fixed, iOS config file updated