I meant "I put the resize (trim) out of the if clause" in the last part of the ticket text.