fixed some requires