fixing streching last section bug