creating task captures project_id or sets it to nil