update warning messages
Merge pull request #285 from burns/fix_warnings

update warning messages