Correct fix for #406

Signed-off-by: Tamas TEVESZ <ice@extreme.hu>