Fix undefined index 'message'

part-fix for bug #21