debug header and footer issue in iOS7