Fix require ref