get element before using strip()
remove old code