check unterminated page