correct a bug when name isn't composed

Signed-off-by: rossierfl <florian.rossier@gmail.com>