resolving some issues caused by multiple trigger characters