adding trim to param