fix conversion warning

fixes #20