Both are correct. Depending on the country of origin. Grammatically, people do make mistakes most of the time without knowing. Hence I would recommend you do more reading as this will enhance you to be precise and know how most words spell. You can also look at homophones which are confuse people all the time