fix prelabel bug