Fixed small bugs in imaging.rb and message.rb