frame count error