break endless loop when using H on first cell (fixes #31)