fix bug with -u not set

Signed-off-by: Frederic Descamps <lefred.descamps@gmail.com>