better optimize WLE