fixed targeting bug