add NilClass to turn from ruby to lua