change Api / Filter var declarations, use fern