fix hr/screenshot function.