remove scary warnings

fixes #301