removed targetactivity stuff
fixed cast activity bug