cleanup code
support ios 7
bump version to 1.0.3