add a variable "streching" to fix the bug