Fixing double message and changing morphia