bug paint()