fix: crash when replace screen