fix message dependency