fixed dumb bug (window.display was missing)