Fixed Fixnum type issue

Fixed crashing when the param is a Fixnum.