drop tail values
Merge pull request #1 from keyvanfatehi/master

drop tail values