oops wrong return value
use a shorter wait time or we'll never get anywhere
empty tags seem to get in somehow. Add an extra check here