refactor lock into skip, reset skip when less than 2 chars