Fixed warning complint about terminating zero,