bug fix drawview