add emptyText property support