Merge pull request #203 from mzry1992/fix-sample-warp-issue

Auto warp sample input and output