one more fix for frame timing