added fix on nil return dempgraphics values