cleaned up some code.

Signed-off-by: x4x <georg.la8585@gmx.at>