make xPosition return center top
remove comment
remove comment and fix typo