fix on frame number estimate