check frame length