add mapping for closing window and change all nore to nnore