Some consonants can be written differently. You might think they are different consonants, but they are just different writing style of the same consonant.
Here is the full list of them. (Please forgive my bad handwriting.)
And thank you Steve, for being the very first person giving me a nice feedback about my application. I am so glad that I could help somebody learning how to read Korean.