fix bug in text label overlap