exception handling for frame rate