fixed incorrect args[] index for common.containsInvalidCharacter()