fixed laurens' idiotic bug