minor restrict changes