fixed unless for empty value assignement