safe versions of windmove