bugfix

bugfix for
http://stackoverflow.com/questions/18300576/npe-when-instantiating-a-con
vertview/