mongo stuff fixed