Error targeting bug solved