Fix incorrect position of require