Fixed double sided issue

and updated the sample file