bug fix on mongo post