Fixed hangings

Signed-off-by: Grafe <flingelfrank@hotmail.com>