fixed wrong target restriction