Fix iOS simulator crash, reorder defined
Merge pull request #6 from Kallidus/master

Fix iOS simulator crash, reorder defined