Ошибка trim
(cherry picked from commit 13f3bd0)