check if win exists before mapping it