Fix issue with require loading