add message generation dependency
fixed always compiling
changes