fix for Amiga regression, this made infinite loop (nw)