Fixed require bug.