Sample code to show apple bug