Add length to detect preview