fix issue with require