fixed dumb variable type for mongo