fixes problem of empty dependencies paragraph (if any available)