bugfix for #1413

Signed-off-by: NurPech <nurpech@nurpech.de>