Fixed require error case