change split roles logic