convert input to string

fixes issue #12