get val waits for element first