bugfix: NullPointerException prevented for optional extras

if there is no extra at all