Fix $require callback