fixed frame size check