fixed wl

variable init. was missing and that caused random numer being there