url bug in messages collection