Sharepoint Internal names of Person or group column gets changed on taking list template

I have created a person or group column in list. When I take list template and use it in other site the internal name of the person or group column gets changed. I have used the internal names of this column in my code. Now due to this mismatch of internal names the code is failing.