Fixed error in trim() of notification