fix #47 trim breaks ie8