Trigger check fix

Changed place for checking for the char trigger