fix task_struct casting