fixed slight mongo problem