Fixed the bug that reuses the input cas in different subphases.