Remove unnecessary func