Add support iOS 8 and fix formatting
Add support empty format