remove \n from signature if any