changed the code for detecting the blue markers - now works most of the
time