Fixed crash with addTarget