Fixed a bug

Signed-off-by: CarlRapp <Carl.Sebastian.Rapp@gmail.com>