#30 fix warnings
fixes #36