fix compile error in v1.0.5 & implement getPt

1. seems String String.replace() change to void String.replace()
2. implement getPt for Ele input