fix overflow error in labeler