fixed funny pixel issue on last th element