Edgemode fix