721 fix warnings

Closes #721