"EMS" is not short, so the code always fails.
Are you sure you understand what you are trying to do? Give us what you really need to do, not what you think you want to do, and they will certainly help you.
Update
Short is a data type that represents a number. That is why "EMS" is not short.
Adrian carneiro
source share