fix some bugs with email signature