fix case
don't access db every message