apply時也要trim掉white space.