fix bug of constline label shifting