remove enterFullscreen function