solved pbs w mongodb, still debugging syntax error