change the position initializing some vars
improve initialization part of targetElement
up 0.6.258