hittest patch