fixes #270 - state indicator bug with wp 3.6