remove white warning after function