fixed minor bugs
Merge pull request #77 from pmarti28/feature_lastStretch3

fixed minor bugs