fix changed element localtor