fix outcast issue