fixed a bug in the getDot utils method that happend when the result was null