core - remove replaceView

remove useless commented code