adjust code snippets to avoid wrapping on iOS6